-- GENERATED SPELL FOR [Ahn'kahar Guardian] --


function spell0_30176(pUnit, Event) --@Sprint,Self--
pUnit:FullCastSpellOnTarget(56354,pUnit)
pUnit:RegisterEvent('Sorts_30176', 15275, 1)
end

function Sorts_30176(pUnit, Event)
local choix_sorts_30176 = math.random(0, 0)
if choix_sorts_30176 == 0 then
pUnit:RegisterEvent('spell0_30176', 1, 1)
end
end

function mob30176_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_30176', math.random(1500, 3000), 1)
end

function mob30176_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30176_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30176_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(30176, 1, 'mob30176_Action')
RegisterUnitEvent(30176, 2, 'mob30176_Leave')
RegisterUnitEvent(30176, 3, 'mob30176_Kill')
RegisterUnitEvent(30176, 4, 'mob30176_Die')
